package threat;

public class TheradDemo1 {
    public static void main(String[] args) {
    }
}


class MyThread1 extends Thread {
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println("你是谁啊");
        }
    }
}

class MyThread2 extends Thread {
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println("我是查水表的");
        }
    }
}
















